package com.bdqn.Service.QuoteDetail.impl;

import com.bdqn.Service.QuoteDetail.QuoteDetailSevice;
import com.bdqn.entity.QuoteDetail;
import com.bdqn.mapper.QuoteDetail.QuoteDetailMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class QuoteDetailImplService implements QuoteDetailSevice {
    @Autowired
    QuoteDetailMapper quoteDetailMapper;

    @Override
    public boolean Insert(QuoteDetail quoteDetail) {
        return quoteDetailMapper.Insert(quoteDetail);
    }

    @Override
    public boolean Update(QuoteDetail quoteDetail) {
        return quoteDetailMapper.Update(quoteDetail);
    }

    @Override
    public QuoteDetail SelById( QuoteDetail quoteDetail) {
        return quoteDetailMapper.SelById(quoteDetail);
    }

    @Override
    public List<QuoteDetail> SelByEuiId(QuoteDetail Num) {
        return quoteDetailMapper.SelByEuiId(Num);
    }

    @Override
    public List<QuoteDetail> SelByOrderId(QuoteDetail Num) {
        return quoteDetailMapper.SelByOrderId(Num);
    }

    @Override
    public List<QuoteDetail> findContAppId(QuoteDetail quoteDetail) {
        return quoteDetailMapper.findContAppId(quoteDetail);
    }
}
